package ldh.im.base.message;

import java.util.Set;

// 点对多发送消息
public class P2mMessage extends Message<String> {

    private Set<Long> toUserSet;

    public P2mMessage(Long fromUserId, Set<Long> toUserSet) {
        super();
        setFromUserId(fromUserId);
        this.toUserSet = toUserSet;
    }

    public Set<Long> getToUserSet() {
        return toUserSet;
    }

    public void setToUserSet(Set<Long> toUserSet) {
        this.toUserSet = toUserSet;
    }
}
